<eq name="isWeixin" value="1">
    
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>金牌会员个人中心</title>
	</head>
	<body>
	        <p>请点击右上角<br />Android手机选择【在浏览器中打开】<br />iPhone手机选择【在Safari中打开】</p>
	</body>
</html>

<else />
<style type="text/css">
    .top-bar{
        height: 48px;
    }
    .my-list {
        margin: 1em auto;
        width: 96%;
        overflow: hidden;
        border: #ddd solid 1px;
        border-radius: 5px;
    }
    .menu-list-inner{
        margin-right: .9em;
    }
    .my-head-content{
        position: relative;
        padding-top: .2em;
    }
    .my-head-name{
        margin-top: .8em;
    }
    .my-head-type{
        position: absolute;
        left: 0;
        right: 0;
        top: 4.5em;
    }
    .my-head-type span{
        font-size: 80%;
        display: inline-block;
        background: #7b72e9;
        color: #fff;
        padding: 2px 10px;
        border-radius: 5px;     
    }
</style>
<!-- TOPBAR -->
<header class="top-bar flex-row">
    <h3 class="row-item top-bar-name">金牌会员个人中心</h3>
</header>

<!-- 头像 -->
<section class="my-head">
    <figure class="my-head-content">
        <p class="my-head-img">
            <img id="head" src="{$user.face}" alt="" style="border-radius: 50%;">
            <input id="upload-head" class="my-header-file-input" type="file" accept="image/*">
        </p>
        <p class="my-head-type"><span>{$user.typeName|default='会员'}</span></p>
        <p class="my-head-name">{$user.nickname}</p>
    </figure>
</section>

<section class="my-list menu-list">
    <a class="menu-list-item" href="{:U('DisShopSpace/myCust', 'sid='.$sid.'&space_token='.$spaceToken)}">
        <div class="menu-list-inner">
            <p class="menu-list-title">我的客户({$user.subCount})</p>
        </div>
    </a>
    <a class="menu-list-item" href="{:U('DisShopSpace/disOrder', 'sid='.$sid.'&space_token='.$spaceToken)}">
        <div class="menu-list-inner">
            <p class="menu-list-title">我的订单({$user.orderCount})</p>
        </div>
    </a>
    <a class="menu-list-item" href="{:U('DisShopSpace/myBonus', 'sid='.$sid.'&space_token='.$spaceToken)}">
        <div class="menu-list-inner">
            <p class="menu-list-title">我的积分({$user.bonus})</p>
        </div>
    </a>
</section>
</eq>